package com.wuh.service.impl;

import com.wuh.mapper.ClassTypeMapper;
import com.wuh.model.ClassType;
import com.wuh.service.ClassTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassTypeServiceImpl implements ClassTypeService {

    @Autowired
    private ClassTypeMapper classTypeMapper;


    /**
     * 通过实体作为筛选条件查询
     *
     * @param classType 实例对象
     */
    @Override
    public List<ClassType> queryClassTypeAll(ClassType classType) {
        return classTypeMapper.queryClassTypeAll(classType);
    }
}
